package hxs.events.flash.net;
import flash.events.Event;
import flash.net.FileReference;
import flash.net.FileReferenceList;
import hxs.events.flash.events.EventDispatcherEvents;
import hxs.extras.FlashEventsStore;
import hxs.extras.FlashSignal;

/**
 * ...
 * @author Tony Polinelli
 */

class FileReferenceListEvents extends EventDispatcherEvents
{

	public function new(target:FileReferenceList) 
	{
		super(target);
	}
	
	public static function getEvents(target:FileReferenceList):FileReferenceListEvents
	{
		return cast FlashEventsStore.getEvents(target);
	}
	
	/* */
	
	public var cancel(getCancel, never):FlashSignal<Event>;
	private function getCancel():FlashSignal<Event>
	{
		return cast getNativeSignal(Event.CANCEL);
	}
	
	public var select(getSelect, never):FlashSignal<Event>;
	private function getSelect():FlashSignal<Event>
	{
		return cast getNativeSignal(Event.SELECT);
	}
}